ComponentOne ASP.NET MVC Controls
ServiceUrl Method (ViewerBaseBuilder<TControl,TBuilder>)

C1.Web.Mvc.Viewer.Fluent Namespace > ViewerBaseBuilder<TControl,TBuilder> Class : ServiceUrl Method
The value.
Configurates C1.Web.Mvc.Viewer.ViewerBase.ServiceUrl. Sets the service url. It works as "~/api/" when it is not set.
Syntax
'Declaration
 
Public Function ServiceUrl( _
   ByVal value As String _
) As TBuilder
public TBuilder ServiceUrl( 
   string value
)

Parameters

value
The value.

Return Value

Current builder.
See Also

Reference

ViewerBaseBuilder<TControl,TBuilder> Class
ViewerBaseBuilder<TControl,TBuilder> Members